package com.prawn.ift_baseconfig.service;


import com.prawn.ift_baseconfig.pojo.NetworkType;
import entity.Result;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/10/23
 * @DESC： 网络类型管理服务接口
 */
public interface NetworkTypeService {

    //增加设备分类信息
    Result addNetworkType(NetworkType networkType);

    //删除设备分类
    Result deleteNetworkType(String id);

    //修改设备分类
    Result editNetworkType(NetworkType networkType);

    //查询设备分类
    NetworkType getNetworkTypeById(String id);
    Result getNetworkTypeList();

    //通过父分类查询
    Result getNetworkTypeByPid(String parentId);
    //查询分类信息，并生成树形数据
    Result getNetworkTypeTree();

}
